Crate re_sdk

source ·
Expand description

The Rerun logging SDK

This is the bare-bones version of the rerun crate. rerun exports everything in re_sdk, so in most cases you want to use rerun instead.

Please read the docs for the rerun crate instead.

§Feature flags

  • data_loaders — Support for using Rerun’s data-loaders directly from the SDK.

    See our log_file example and https://www.rerun.io/docs/reference/data-loaders/overview for more information.

  • web_viewer — Support serving a web viewer over HTTP.

    Enabling this inflates the binary size quite a bit, since it embeds the viewer wasm.

    For faster & easier builds, a pre-built web-views comes bundled with the crate as a Wasm binary. Enabling this feature will embed this pre-built web viewer.

    However, when building from source in the repository, this feature adds quite a bit to the compile time since it requires compiling and bundling the viewer as wasm.

Modules§

  • Re-exports of other crates.
  • Things directly related to logging.
  • Different destinations for log messages.
  • Time-related types.
  • Methods for spawning the web viewer and streaming the SDK log stream to it.

Macros§

Structs§

Enums§

Traits§

Functions§

Type Aliases§